package sjtu.ist.warehouse4ws.model;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields
	private String id;
	private String name;
	private String password;
	private Integer type;
	private String company;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** full constructor */

	public User(String id, String name, String password, Integer type,
			String company) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.type = type;
		this.company = company;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}
}